<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('store_type/index')}">类型列表</a></li>
			<li><a href="{:url('store_type/add')}">类型添加</a></li>
		</ul>
		<form method="post" class="js-ajax-form margin-top-20" action="{:url('store_type/listOrder')}">
            <div class="table-actions">
                <button class="btn btn-sm btn-primary js-ajax-submit" type="submit"
                        title="{:lang('Sort')}" data-toggle="tooltip">
                    <i class="fa fa-sort-numeric-asc fa-fw"></i>
                </button>
            </div>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="100">{:lang('SORT')}</th>
					<th width="50">ID</th>
					<th>名称</th>
					<th width="240">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="lists" item="vo">
				<tr>
					<td>
						<input name='list_orders[{$vo.id}]' class="input input-order mr5" type='text' size='3' value='{$vo.list_order}' style="width:50px;">
					</td>
					<td>{$vo.id}</td>
					<td>{$vo.title}</td>
					<td>
						<a class="btn btn-xs btn-primary" href='{:url("store_type/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
						<a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('store_type/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		</form>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>